package com.hzqy.persistence.dao.hotel;


import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.PmsUserVo;
import com.hzqy.web.vo.qdh.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class HotelQdhDao extends PersistenceDao<PmsUserVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	public QdhHotelRelationVo selectQdhHotelRelationVo(Map<String,Object> map) {
		return getSqlSession().selectOne(this.getNamespace()+"selectQdhHotelRelationVo",map);
	}
	public List<CacheAmusementVo> selectCacheAmusementVoList(Map<String,Object> map) {
		return getSqlSession().selectList(this.getNamespace()+"selectCacheAmusementVoList",map);
	}
    public int selectCacheAmusementVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheAmusementVoCount",map);
    }
    public CacheAmusementVo selectCacheAmusementVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheAmusementVo",map);
    }

    public List<CacheCateringVo> selectCacheCateringVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheCateringVoList",map);
    }
    public int selectCacheCateringVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheCateringVoCount",map);
    }
    public CacheCateringVo selectCacheCateringVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheCateringVo",map);
    }

    public List<CacheFacilitatesVo> selectCacheFacilitatesVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheFacilitatesVoList",map);
    }
    public int selectCacheFacilitatesVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheFacilitatesVoCount",map);
    }
//    public CacheFacilitatesVo selectCacheFacilitatesVo(Map<String,Object> map) {
//        return getSqlSession().selectOne(this.getNamespace()+"selectCacheFacilitatesVo",map);
//    }

    public List<CacheGoodsVo> selectCacheGoodsVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheGoodsVoList",map);
    }
    public int selectCacheGoodsVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheGoodsVoCount",map);
    }
    public CacheGoodsVo selectCacheGoodsVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheGoodsVo",map);
    }

    public List<CacheHotelVo> selectCacheHotelVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheHotelVoList",map);
    }
    public int selectCacheHotelVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheHotelVoCount",map);
    }
    public CacheHotelVo selectCacheHotelVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheHotelVo",map);
    }

    public List<CacheScenicspotVo> selectCacheScenicspotVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheScenicspotVoList",map);
    }
    public int selectCacheScenicspotVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheScenicspotVoCount",map);
    }
    public CacheScenicspotVo selectCacheScenicspotVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheScenicspotVo",map);
    }

    public List<CacheShoppingVo> selectCacheShoppingVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheShoppingVoList",map);
    }
    public int selectCacheShoppingVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheShoppingVoCount",map);
    }
    public CacheShoppingVo selectCacheShoppingVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheShoppingVo",map);
    }

    public List<CacheSpecialdishesVo> selectCacheSpecialdishesVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheSpecialdishesVoList",map);
    }
    public int selectCacheSpecialdishesVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheSpecialdishesVoCount",map);
    }
    public CacheSpecialdishesVo selectCacheSpecialdishesVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheSpecialdishesVo",map);
    }

    public List<CacheTourismprojectVo> selectCacheTourismprojectVoList(Map<String,Object> map) {
        return getSqlSession().selectList(this.getNamespace()+"selectCacheTourismprojectVoList",map);
    }
    public int selectCacheTourismprojectVoCount(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheTourismprojectVoCount",map);
    }
    public CacheTourismprojectVo selectCacheTourismprojectVo(Map<String,Object> map) {
        return getSqlSession().selectOne(this.getNamespace()+"selectCacheTourismprojectVo",map);
    }
}
